<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="antd.min.css">
    <script src="vue.min.js"></script>
    <script src="antd.min.js"></script></i>
</head>
<body>
    <div id="app">
        <a-tree v-bind="attrs"></a-tree>
    </div>
    <script>
        new Vue({
          el:"#app",
          data:{
              attrs:{
                  treeData:[{
                      title:"国内新闻",
                      key:"new12",
                      children:[{
                          title:"新闻1",
                          key:"new1-1"
                      },{
                          title:"新闻1",
                          key:"new1-2"
                      }]
                  },{
                      title:"国外新闻1",
                      key:"new13",
                      children:[{
                          title:"新闻1233",
                          key:"new1-1"
                      },{
                          title:"新闻12333",
                          key:"new1-22"
                      },{
                          title:"新闻13",
                          key:"new1-23"
                      }]
                  },{
                      title:"非洲新闻3",
                      key:"new14",
                      children:[{
                          title:"新闻13333",
                          key:"new1-1"
                      },{
                          title:"新闻13333",
                          key:"new1-23"
                      },{
                          title:"新闻13333",
                          key:"new1-23"
                      },{
                          title:"新闻13333",
                          key:"new1-23"
                      },{
                          title:"新闻13",
                          key:"new1-23"
                      },{
                          title:"新闻13",
                          key:"new1-23"
                      }]
                  }
                  ]
              }
          }  
        })
    </script>
</body>
</html>